Remove unused parameter.
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Tue, 8 Nov 2005 10:35:25 +0000 (11:35 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Tue, 8 Nov 2005 10:35:25 +0000 (11:35 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/xenstore/xstransact.py

index eb39368068a227a3dceecf188b3acd94d2140b78..c1b72a970fffaddf05499936d40d8c82bfda881b 100644 (file)
@@ -74,7 +74,7 @@ class xstransact:
                                ('%s, while writing %s : %s' %
                                 (ex.args[1], path, str(data))))
 
-    def write(self, *args, **opts):
+    def write(self, *args):
         if len(args) == 0:
             raise TypeError
         if isinstance(args[0], dict):
@@ -235,11 +235,11 @@ class xstransact:
 
     Read = classmethod(Read)
 
-    def Write(cls, path, *args, **opts):
+    def Write(cls, path, *args):
         while True:
             t = cls(path)
             try:
-                t.write(*args, **opts)
+                t.write(*args)
                 if t.commit():
                     return
             except: